<?php   
	// Interface function   
	function oh_module_simplehtml($tokens) {
        global $oh_object_simplehtml;
        return $oh_object_simplehtml;        
	} 
		
	// Main class of module
	class oh_class_simplehtml { 
		function oh_class_simplehtml() {
		}
		function head($title="Appication 1") {
			echo '<html>'."\n";
			echo '<head>'."\n";
			echo '<title>'.$title.'</title>'."\n";
			if (function_exists("oh_simplehtml_head")) {
				oh_simplehtml_head();
			}
			echo '</head>'."\n";
		}
		function open_body() {
			echo '<body>'."\n";
		}
		function close_body() {
			echo '</body>'."\n";
			echo '</html>'."\n";
		}
	}
	
	// Main object of module
	global $oh_object_simplehtml;
	$oh_object_simplehtml = new oh_class_simplehtml();
?>
